package aimis.repo;


import aimis.domain.History;
import aimis.domain.PlantingRecords;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface HistoryMapper {

    @Select("select * from HistoryMessage")
    List<History> getAll();

    @Delete("delete from HistoryMessage where id =#{id}")
    void deleteById(String id);
}
